package com.earl.user.utils;

import com.earl.user.entity.po.TokenSettings;

public class JwtTokenUtil {

    private static String secretKey;

    private static String issur;

    public static void setTokenSetting(TokenSettings tokenSetting){
        secretKey = tokenSetting.getSecretKey();
        issur = tokenSetting.getIssur();
    }
    public static String getToken() {
        return secretKey + issur;
    }
}
